<form class="layui-form" action="" method="post" name="myform" id="myform">
	<input name="action" id="action" type="hidden" value="del" />
	<div class="manniucms-sub-content">
		<div class="layui-box">
			<fieldset class="layui-elem-field layui-field-title">
			<legend>角色列表</legend>
				<div class="layui-field-box">
					<table class="layui-table">
						<colgroup>
							<col width="60">
							<col width="80">
							<col width="200">
							<col>
							<col width="80">
							<col>
						</colgroup>
						<thead>
							<tr>
								<th class="th-text-center"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
								<th class="th-text-center">ID</th>
								<th>角色名称</th>
								<th>角色描述</th>
								<th class="th-text-center">状态</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							{volist name="list" id="vo"}
							<tr>
								<td class="text-center"><input type="checkbox" name="ids[]" lay-skin="primary" value="{$vo.id}"></td>
								<td class="text-center">{$vo.id}</td>
								<td>{$vo.name}</td>
								<td>{$vo.remark}</td>
								<td class="text-center"><i class="fa {if $vo.status}fa-check-circle color_primary{else}fa-times-circle color_danger{/if}" style="font-size:18px;"></i></td>
								<td>
									<div class="layui-btn-group">
										<a class="layui-btn layui-btn-small layui-btn-primary" href="{:url('auth','id='.$vo.id)}">
											<i class="layui-icon">&#xe614;</i> 角色权限
										</a>
										<a class="layui-btn layui-btn-small layui-btn-primary" href="{:url('root/index','roleid='.$vo.id)}">
											<i class="layui-icon">&#xe613;</i> 成员管理
										</a>
										<a class="layui-btn layui-btn-small layui-btn-primary" href="{:url('edit','id='.$vo.id)}">
											<i class="layui-icon">&#xe642;</i> 修改
										</a>
										{if $vo.id != 1 && $vo.id != 2}
										<a class="layui-btn layui-btn-small layui-btn-primary" href="javascript:;" onclick="mn_confirm_url('确定删除 {$vo.name} 角色组吗？','{:url('del','id='.$vo.id)}')">
											<i class="layui-icon">&#xe640;</i> 删除
										</a>
										{/if}
									</div>
								</td>
							</tr>
							{/volist}
						</tbody>
					</table>
				</div>
			</fieldset>
		</div>
	</div>
	<!-- 底部 -->
	<div class="manniucms-sub-footer layui-box">
		
	</div>
</form>